﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Runtime.Serialization;
using System.ServiceModel;
using System.ServiceModel.Web;
using System.Text;

namespace KnockKnock
{
    // NOTE: You can use the "Rename" command on the "Refactor" menu to change the interface name "IService1" in both code and config file together.
    [ServiceContract]
    public interface IKnockKnock
    {
        [OperationContract]
        void FibonacciNumber(long number, out long result);
        [OperationContract]
        string ReverseWords(string s);
        [OperationContract]
        void WhatShapeIsThis(int a, int b, int c, out TriangleType result);
        [OperationContract]
        string WhatIsYourToken();
    }


    // to represent the types of triangles, used in return type
     [DataContract]   
    public enum TriangleType
    {
        /// <remarks/>
        Error,

        /// <remarks/>
        Equilateral,

        /// <remarks/>
        Isosceles,

        /// <remarks/>
        Scalene,
    }
}
